package com.app.service;

import com.app.common.PageBean;
import com.app.bean.dto.RecommendQueryPage;
import com.app.entity.Recommend;
import com.app.bean.vo.RecommendVO;
import org.bson.types.ObjectId;

import java.util.List;

/**
 * @autor xiaoyu.fang
 * @date 2019/10/10 11:21
 */
public interface IRecommendService {

    void insert(Recommend recommend);

    void updateDataStatusById(Integer dataStatus, ObjectId id);

    Recommend findById(ObjectId id);

    PageBean<Recommend> queryPage(RecommendQueryPage queryPage);

    List<RecommendVO> queryRecommendation();
}
